package com.myCommunity.biz.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.myCommunity.biz.ForumBiz;
import com.myCommunity.dao.ForumDao;
import com.myCommunity.dao.impl.ForumDaoImpl;
import com.myCommunity.entity.Forum;
@Service("forumBiz")
public class ForumBizImpl implements ForumBiz{
	@Autowired
	private ForumDao forumDao;
	public List<Forum> getAll() {
		return forumDao.getAll();
	}
	public List<Forum> getById(int id) {
		return forumDao.getById(id);
	}

}
